CSAMPLE Program This program will analyze data collected by cluster sampling means. If you are not familiar with cluster sampling, you might take time to review whatever document lead you to use this program. Context sensitive help is provided for the following topics: File Dialog Main Variable Strata Variable PSU Variable Weight Variable Crosstab Variable Crosstab Values Down Arrow Scroll Tables Button Means Button Sort Button Cancel Button Radio Buttons Press to put this help screen away. Data file name Select the file to be analyzed from the File Dialog File is the data file (.REC) file where the cluster data has been collected. The cluster analysis requires that the file be sorted by STRATUM and PSU (cluster). If you have not sorted, you may request this program to sort it. This program is capable of sorting a maximum of 16000 records. If you have more records than that, or you plan on making many analyses on the same data set, you are advised to use EPI Info ANALYSIS to sort the data. For more information on ANALYSIS, refer to the EPI Info user's manual. Main Variable Enter the name of the variable you wish to analyze. You may pull down a list of available variables by using the Down Arrow This field is required. Crosstab Variable Enter the name of the variable that identifies a subgroup that you would like to use to further stratify the sample. You may pull down a list of available variables by using the Down Arrow This field is not required. If you choose to use a crosstab variable, you will be allowed to enter 2 values for comparison. For more information, refer to Crosstab Values Strata Variable Enter the name of the variable that identifies the primary stratum from which each member was chosen. You may pull down a list of available variables by using the Down Arrow This field is not required. PSU Variable Enter the name of the variable that identifies the primary sampling unit of which each member is a part. You may pull down a list of available variables by using the Down Arrow This field is not required. Weight Variable Enter the name of the variable that gives the weight of each member. This field is not required, and if omitted, the program will assume equal probabilities of selection. You may pull down a list of available variables by using the Down Arrow Tables Button Once you have selected all the variables and options you desire, select the Tables button to produce the tables. You may select the button with the mouse or key and press the or . This button may be pressed in any context with the key combination. Means Button Once you have selected all the variables and options you desire, select the Means button to produce the weighted means and their standard errors. You may select the button with the mouse or key and press the or . This button may be pressed in any context with the key combination. Sort Button In order to analyze a dataset, it must be sorted by STRATA and PSU. If the file is not currently sorted by these two variables, press the Sort button to sort the file before pressing the Tables Button or Means Button. This button may be pressed in any context with the key combination. Cancel Button To abandon program, select Cancel with the mouse or press . File Dialog Box Select the file to be analysed. The file you select must exist. This dialog box contains a list of files in the current directory. You may select a file to Import using any of the following methods: ? Type the name of the file with its extension into the Name K input line. Click on the Open button or press to open the file. Type the name of a file with global file name (wild card) $ characters into the Name input line. A list of files matching this specification appears in the Files list box below. Using the and arrow keys highlight a file name in the list box or select one with the mouse and click on the Open button or press to open the file. You can see the contents of other disk directories by selecting { the directory entries in the Files list box. Directory entries are those entries ending with the backslash character (\). To see the contents of another disk drive, type in the complete file specification with drive specifier and wild cards and click on the Open button or press . You can then select a file name from the Files list box as described above. The input line contains a history list of previously entered file 9 specifications. Press the down arrow or click on the arrow box to the right of the input line to view this list. Use the arrow keys or the mouse to highlight a specification and press Enter to move this specification into the input line. You can then proceed to select a filename as described above. Note that in all cases, double clicking with a mouse on a filename or file specification is the same as pressing or selecting OK with the mouse. You can view the directory information of the selected file in the panel at the bottom of the dialog box. g To exit the dialog box without opening the Epi Info file, press or click on the Cancel Button Check Box Select the check box by highlighting it and entering a space, or click on it with the mouse. Radio Buttons Select the desired radio button by clicking on it with a mouse, or using the arrow keys and pressing or . Crosstab Values If you want to compare 2 values of the subgroup, enter them in these input lines. In addition to the normal statistics for variable, a comparison of the two values you select will be shown. You need not enter the values, in which case all values of the subgroup will be analyzed. Down Arrow Icon Use the down arrow key, or click on the down arrow icon to pull down a list of available selections. If more selections are available than can be shown in the list you may use the Scroll to scroll through the list. When you have found the desired item, highlight it and press , or double click on it with the mouse. That item will appear in the associated input line. Scroll Bars If more items are available than will fit in a view, scroll bars are displayed. You may scroll through the view using the arrow keys, PgDn, PgUp, or mouse action on the scroll bars. Overwrite Existing File The file you have selected as output exists. You may press the Overwrite button to overwrite the file, replacing its contents with the new analysis. Or you may press the Append button to append to the file, adding the output of the new analysis to what the file currently contains. Press the Cancel button to select a different file.